package com.ruoyi.system.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.common.core.mapper.BaseMapperPlus;
import com.ruoyi.system.domain.PBanner;
import com.ruoyi.system.domain.vo.PBannerVo;
import org.apache.ibatis.annotations.Param;

/**
 * 轮播图Mapper接口
 *
 * @author ruoyi
 * @date 2022-07-19
 */
public interface PBannerMapper extends BaseMapperPlus<PBannerMapper, PBanner, PBannerVo> {

    /**
     * 联查oss
     */
    Page<PBanner> selectVoLeftOssList(@Param("build") Page<Object> build, @Param(Constants.WRAPPER) Wrapper<PBanner> queryWrapper);

    /**
     * 前端-联查oss
     */
    Page<PBanner> selectVoFontLeftOssList(@Param("build") Page<Object> build, @Param(Constants.WRAPPER) Wrapper<PBanner> queryWrapper);
}
